import { FixedImage } from "./basic/FixedImage";
import schemaFixedImage from "./basic/FixedImage/schema";
import { FixedText } from "./basic/FixedText";
import schemaFixedText from "./basic/FixedText/schema";
import { Image } from "./basic/Image";
import schemaImage from "./basic/Image/schema";
import { Text } from "./basic/Text";
import schemaText from "./basic/Text/schema";
import { FlexBox } from './basic/FlexBox';
import schemaFlexBox from "./basic/FlexBox/schema";

import { Button } from './basic/Button';
import schemaButton from "./basic/Button/schema";
import { Icon } from "./basic/Icon";
import schemaIcon from "./basic/Icon/schema";
import { FixedFlexBox } from "./basic/FixedFlexBox";
import schemaFixedFlexBox from "./basic/FixedFlexBox/schema";

// 集成antd组件库
import antdSchema from './antd';



export default [
    {
        component: Text,
        props: schemaText
    },
    {
        component: Image,
        props: schemaImage
    },
    {
        component: FixedText,
        props: schemaFixedText
    },
    {
        component: FixedImage,
        props: schemaFixedImage
    },
    {
        component: FlexBox,
        props: schemaFlexBox
    },
    {
        component: FixedFlexBox,
        props: schemaFixedFlexBox
    },
    {
        component: Button,
        props: schemaButton
    },
    {
        component: Icon,
        props: schemaIcon
    },
    ...antdSchema
]